package com.citicpub_cloud.restfull.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component("ossConfigure")
@ConfigurationProperties(prefix = "oss")
public class OSSConfigure {
	private String accountendpoint;    
    private String accesskeyid;    
    private String accesskeysecret;    
    private String bucketName;   
    private String imgAccessUrl;
    private String otherAccessUrl;
	
	public String getAccountendpoint() {
		return accountendpoint;
	}
	public void setAccountendpoint(String accountendpoint) {
		this.accountendpoint = accountendpoint;
	}
	public String getAccesskeyid() {
		return accesskeyid;
	}
	public void setAccesskeyid(String accesskeyid) {
		this.accesskeyid = accesskeyid;
	}
	public String getAccesskeysecret() {
		return accesskeysecret;
	}
	public void setAccesskeysecret(String accesskeysecret) {
		this.accesskeysecret = accesskeysecret;
	}
	public String getBucketName() {
		return bucketName;
	}
	public void setBucketName(String bucketName) {
		this.bucketName = bucketName;
	}
	public String getImgAccessUrl() {
		return imgAccessUrl;
	}
	public void setImgAccessUrl(String imgAccessUrl) {
		this.imgAccessUrl = imgAccessUrl;
	}
	public String getOtherAccessUrl() {
		return otherAccessUrl;
	}
	public void setOtherAccessUrl(String otherAccessUrl) {
		this.otherAccessUrl = otherAccessUrl;
	}
}	
